package com.xdk.templatescala.service;

import com.xdk.templatescala.model.ScaleAnswerEntry;

import java.util.List;

public interface ScaleAnswerService {

    /**
     * 查询所有量表表
     *
     * @param
     * @return
     */
    List<ScaleAnswerEntry> findScaleAnswerEntryByParam();

    /**
     * 添加模板数据
     *
     * @param
     * @return
     */
    List<ScaleAnswerEntry> addScaleAnswerEntry(List<ScaleAnswerEntry> scaleAnswerEntries);

    /**
     * 根据scaleAnswerId获取量表模板
     *
     * @param
     * @return
     */
    ScaleAnswerEntry findOne(String scaleAnswerId);

    /**
     * 找到所有id
     *
     * @param scaleAnswerIds 规模回答id
     * @return {@link List}<{@link ScaleAnswerEntry}>
     */
    List<ScaleAnswerEntry> findAllById(String scaleAnswerIds);
}
